package com.fqgj.xjd.user.dao;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserFeatureTagMapEntity;

import java.util.List;

/**
* User: zhangxingyun
* Date: 2017-07-20
* Time: 18:38:53.095
*/

public interface UserFeatureTagMapDao  extends BaseMapper<UserFeatureTagMapEntity> {
    /**
     * 给用户打标签
     * @param userCode
     * @param tags
     * @return
     */
    Integer addTagsToUser(String userCode, List<Long> tags);

    /**
     * 查询用户所有标签
     * @param userCode
     * @return
     */
    List<UserFeatureTagMapEntity> getAllUserFeatureTags(String userCode);
}